package constructor11;

public class javaEEEngineer extends Development{

    public javaEEEngineer(String id,String name,boolean marrystatus){
        super(id,name,marrystatus);
    }

    public javaEEEngineer(String id,String name){
        super(id,name);
    }
    @Override
    public void work() {
        System.out.println("员工号为" + getId() + "的" + (isMarrystatus() ? "已婚" : "未婚") +"的" + getName() + "员工正在研发淘宝网站");
    }
}
